package consumer.controller;

import consumer.entity.GoodPrice;
import consumer.service.CoursePrice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class testController {
    @Autowired
    CoursePrice coursePrice;


    @GetMapping("/test")
    public String test(){
        String infoByDubbo = coursePrice.getInfoByDubbo();
        return infoByDubbo;
    }
}
